/*
 * class.h
 *
 *  Created on: 2013-5-12
 *      Author: xkaying
 */

#ifndef CLASS_H_
#define CLASS_H_

#include "function.h"
#include "declare.h"
#include "template.h"

typedef struct _class Class;

Class *ClassInit(int prority);
void ClassAppendName(Class *pclass ,char *name);
void ClassAppendTemplate(Class *pclass,Template *ptemplate);
void ClassAppendDeclare(Class *pclass,Declare *pdeclare);
void ClassAppendFunction(Class *pclass,Function *pdeclare);
void ClassAppendSuper(Class *pclass,char *super);
int ClassIsempty(Class *pclass);
char* ClassName(Class *pclass);


#endif /* CLASS_H_ */
